Function: demo_MEWT

CALL:

httpsServerExample

DESCRIPTION:

Server with examples of callbacks. The server listens to port in the range 8082 and creates a number of callbacks

INPUT:

      no input required
  

OUTPUT:

server modelit.web.server.Server
a server listening to the port 8082
localhost:port/ ==> InfoCallback
localhost:port/html ==> HTMLCallback
localhost:port/xml ==> XMLCallback
localhost:port/json ==> JSONCallback
localhost:port/pdf ==> PDFCallback
localhost:port/image ==> ImageCallback
localhost:port/figure ==> FigureCallback
localhost:port/authentication ==> AuthenticationCallback (log in with username:
user, password: 1234)
localhost:port/html2 ==> HTMLCallback, credentials required